package za.co.ray.eyewtkah.objects;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;


@XmlRootElement
public class TimePeriod implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = -7887769265373407429L;

    public TimePeriod() {

    }

    public TimePeriod(Date effectiveFrom, Date effectiveTo) {
        super();
        this.effectiveFrom = effectiveFrom;
        this.effectiveTo = effectiveTo;
    }

    private Date effectiveFrom;

    private Date effectiveTo;

    public Date getEffectiveFrom() {
        return effectiveFrom;
    }

    public void setEffectiveFrom(Date effectiveFrom) {
        this.effectiveFrom = effectiveFrom;
    }

    public Date getEffectiveTo() {
        return effectiveTo;
    }

    public void setEffectiveTo(Date effectiveTo) {
        this.effectiveTo = effectiveTo;
    }

}
